package br.com.fogas.medicao.activity.validation;

import br.com.fogas.medicao.R;
import br.com.fogas.medicao.activity.helper.LoginHelper;
import br.com.fogas.utils.validacao.CampoVazio;
import br.com.fogas.utils.validacao.ValidacaoResponsability;

public class LoginValidacao {

	public static boolean validar(LoginHelper helper) {
		ValidacaoResponsability token = new CampoVazio(helper.getEtToken(),
				helper.getActivity().getString(R.string.validation_msg_tokenvazio));
		return token.campoValido();
	}
}
